#define _CRT_SECURE_NO_WARNINGS 1
#include"BSTree.h"
using namespace key;
int main()
{
	BSTree<int> t;
	int a[] = { 8, 3, 1, 10, 6, 4, 7, 14, 13 };
	for (auto e : a) t.InsertR(e);
	t.Inorder();
	for (auto e : a)
	{
		t.EraseR(e);
		t.Inorder();
	}
	return 0;
}


